<!doctype html>
<html>
  <head>
    <title>Service Worker Test Harness</title>
    <link rel="manifest" href="/manifest.webapp">
    <script src="/node_modules/zone.js/dist/zone.js"></script>
    <script src="/node_modules/reflect-metadata/Reflect.js"></script>
    <script src="/node_modules/systemjs/dist/system.js"></script>
    <script type="text/javascript">
      System.config({
        map: {
          '@angular': '/node_modules/@angular',
          'rxjs': '/node_modules/rxjs',
          'base64-js': '/node_modules/base64-js',
          'harness': '/'
        },
        packages: {
          '@angular/core': {
            main: 'bundles/core.umd.js',
            defaultExtension: 'js'
          },
          '@angular/common': {
            main: 'bundles/common.umd.js',
            defaultExtension: 'js'
          },
          '@angular/compiler': {
            main: 'bundles/compiler.umd.js',
            defaultExtension: 'js'
          },
          '@angular/forms': {
            main: 'bundles/forms.umd.js',
            defaultExtension: 'js'
          },
          '@angular/platform-browser': {
            main: 'bundles/platform-browser.umd.js',
            defaultExtension: 'js'
          },
          '@angular/platform-browser-dynamic': {
            main: 'bundles/platform-browser-dynamic.umd.js',
            defaultExtension: 'js'
          },
          '@angular/service-worker': {
            main: 'bundles/service-worker.umd.js',
            defaultExtension: 'js'
          },
          'rxjs': {
            defaultExtension: 'js'
          },
          'base64-js': {
            main: 'base64js.min.js',
            defaultExtension: 'js'
          },
          'harness': {
            main: './main.js',
            defaultExtension: 'js'
          }
        }
      });
    </script>
  </head>
  <body>
    <sw-testing-harness></sw-testing-harness>
    <script type="text/javascript">
      System.import('harness');
    </script>
  </body>
</html>